[INFO] cloning repository https://github.com/davlon1/game-of-life-rust-sfml
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davlon1/game-of-life-rust-sfml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavlon1%2Fgame-of-life-rust-sfml", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavlon1%2Fgame-of-life-rust-sfml'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dd2147d61842dccc2c0d707325ad2523813f76ec
[INFO] checking davlon1/game-of-life-rust-sfml against try#b152f5575a2ac7126ae0019e4e679abe9399213e for pr-157841
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavlon1%2Fgame-of-life-rust-sfml" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/davlon1/game-of-life-rust-sfml
[INFO] finished tweaking git repo https://github.com/davlon1/game-of-life-rust-sfml
[INFO] tweaked toml for git repo https://github.com/davlon1/game-of-life-rust-sfml written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/davlon1/game-of-life-rust-sfml on toolchain b152f5575a2ac7126ae0019e4e679abe9399213e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/davlon1/game-of-life-rust-sfml already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking davlon1/game-of-life-rust-sfml against try#b152f5575a2ac7126ae0019e4e679abe9399213e for pr-157841
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavlon1%2Fgame-of-life-rust-sfml" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/davlon1/game-of-life-rust-sfml
[INFO] finished tweaking git repo https://github.com/davlon1/game-of-life-rust-sfml
[INFO] tweaked toml for git repo https://github.com/davlon1/game-of-life-rust-sfml written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/davlon1/game-of-life-rust-sfml on toolchain b152f5575a2ac7126ae0019e4e679abe9399213e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/davlon1/game-of-life-rust-sfml already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sfml-build v0.4.0
[INFO] [stderr]   Downloaded csfml-system-sys v0.6.0
[INFO] [stderr]   Downloaded csfml-graphics-sys v0.6.0
[INFO] [stderr]   Downloaded csfml-audio-sys v0.6.0
[INFO] [stderr]   Downloaded csfml-window-sys v0.6.0
[INFO] [stderr]   Downloaded sfml v0.16.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b3b43fe3f5a1eba4831736dcb6f4a075112b24c4a480b60e5bf7631665a466ed
[INFO] running `Command { std: "docker" "start" "b3b43fe3f5a1eba4831736dcb6f4a075112b24c4a480b60e5bf7631665a466ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b3b43fe3f5a1eba4831736dcb6f4a075112b24c4a480b60e5bf7631665a466ed" "/opt/rustwide/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b3b43fe3f5a1eba4831736dcb6f4a075112b24c4a480b60e5bf7631665a466ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b3b43fe3f5a1eba4831736dcb6f4a075112b24c4a480b60e5bf7631665a466ed" "/opt/rustwide/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling sfml-build v0.4.0
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]     Checking widestring v0.4.3
[INFO] [stderr]    Compiling csfml-system-sys v0.6.0
[INFO] [stderr]    Compiling csfml-window-sys v0.6.0
[INFO] [stderr]    Compiling csfml-graphics-sys v0.6.0
[INFO] [stderr]    Compiling csfml-audio-sys v0.6.0
[INFO] [stderr]     Checking sfml v0.16.0
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]     Checking rust-sfml v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `IndexMut`
[INFO] [stdout]  --> src/main.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Index, IndexMut};
[INFO] [stdout]   |                       ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_cell`
[INFO] [stdout]   --> src/main.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 |             let left_cell = Vector2i::new(i.x_pos - 1, i.y_pos);
[INFO] [stdout]    |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_cell`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_down_cell`
[INFO] [stdout]   --> src/main.rs:93:17
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let left_down_cell = Vector2i::new(i.x_pos - 1, i.y_pos + 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_down_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_up_cell`
[INFO] [stdout]   --> src/main.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |             let left_up_cell = Vector2i::new(i.x_pos - 1, i.y_pos - 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_up_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `up`
[INFO] [stdout]   --> src/main.rs:95:17
[INFO] [stdout]    |
[INFO] [stdout] 95 |             let up = Vector2i::new(i.x_pos, i.y_pos - 1);
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_up`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `down`
[INFO] [stdout]   --> src/main.rs:96:17
[INFO] [stdout]    |
[INFO] [stdout] 96 |             let down = Vector2i::new(i.x_pos, i.y_pos + 1);
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_down`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `right_cell`
[INFO] [stdout]   --> src/main.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |             let right_cell = Vector2i::new(i.x_pos + 1, i.y_pos);
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `right_down_cell`
[INFO] [stdout]   --> src/main.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |             let right_down_cell = Vector2i::new(i.x_pos + 1, i.y_pos + 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_down_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `right_up_cell`
[INFO] [stdout]   --> src/main.rs:99:17
[INFO] [stdout]    |
[INFO] [stdout] 99 |             let right_up_cell = Vector2i::new(i.x_pos + 1, i.y_pos - 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_up_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `neighbour_count` is never read
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Cell {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     neighbour_count: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_cell_active` and `update_cells` are never used
[INFO] [stdout]   --> src/main.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Grid {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn get_cell_active(&mut self, x_pos: i32, y_pos: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn update_cells(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/main.rs:124:22
[INFO] [stdout]     |
[INFO] [stdout] 124 |         for event in window.poll_event() {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 124 -         for event in window.poll_event() {
[INFO] [stdout] 124 +         while let Some(event) = window.poll_event() {
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 124 -         for event in window.poll_event() {
[INFO] [stdout] 124 +         if let Some(event) = window.poll_event() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IndexMut`
[INFO] [stdout]  --> src/main.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Index, IndexMut};
[INFO] [stdout]   |                       ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_cell`
[INFO] [stdout]   --> src/main.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 |             let left_cell = Vector2i::new(i.x_pos - 1, i.y_pos);
[INFO] [stdout]    |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_cell`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_down_cell`
[INFO] [stdout]   --> src/main.rs:93:17
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let left_down_cell = Vector2i::new(i.x_pos - 1, i.y_pos + 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_down_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_up_cell`
[INFO] [stdout]   --> src/main.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |             let left_up_cell = Vector2i::new(i.x_pos - 1, i.y_pos - 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_up_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `up`
[INFO] [stdout]   --> src/main.rs:95:17
[INFO] [stdout]    |
[INFO] [stdout] 95 |             let up = Vector2i::new(i.x_pos, i.y_pos - 1);
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_up`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `down`
[INFO] [stdout]   --> src/main.rs:96:17
[INFO] [stdout]    |
[INFO] [stdout] 96 |             let down = Vector2i::new(i.x_pos, i.y_pos + 1);
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_down`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `right_cell`
[INFO] [stdout]   --> src/main.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |             let right_cell = Vector2i::new(i.x_pos + 1, i.y_pos);
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `right_down_cell`
[INFO] [stdout]   --> src/main.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |             let right_down_cell = Vector2i::new(i.x_pos + 1, i.y_pos + 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_down_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `right_up_cell`
[INFO] [stdout]   --> src/main.rs:99:17
[INFO] [stdout]    |
[INFO] [stdout] 99 |             let right_up_cell = Vector2i::new(i.x_pos + 1, i.y_pos - 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_up_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `neighbour_count` is never read
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Cell {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     neighbour_count: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_cell_active` and `update_cells` are never used
[INFO] [stdout]   --> src/main.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Grid {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn get_cell_active(&mut self, x_pos: i32, y_pos: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn update_cells(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/main.rs:124:22
[INFO] [stdout]     |
[INFO] [stdout] 124 |         for event in window.poll_event() {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 124 -         for event in window.poll_event() {
[INFO] [stdout] 124 +         while let Some(event) = window.poll_event() {
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 124 -         for event in window.poll_event() {
[INFO] [stdout] 124 +         if let Some(event) = window.poll_event() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.75s
[INFO] running `Command { std: "docker" "inspect" "b3b43fe3f5a1eba4831736dcb6f4a075112b24c4a480b60e5bf7631665a466ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3b43fe3f5a1eba4831736dcb6f4a075112b24c4a480b60e5bf7631665a466ed", kill_on_drop: false }`
[INFO] [stdout] b3b43fe3f5a1eba4831736dcb6f4a075112b24c4a480b60e5bf7631665a466ed
